<script>
  import { describe, nullEntity } from '$lib';

  let { world, equipment } = $props();

</script>

<div>
  <h3>─ Equipment ─</h3>
  {#each equipment as [slot, item]}
    <div>
      {slot}: {item === nullEntity ? "none" : describe(world, item)}
    </div>
  {/each}
</div>

<style>
</style>
